package com.guodu.dao;

import java.math.BigDecimal;
import java.util.List;

import com.guodu.entity.MaterialChuku;
import com.guodu.entity.MaterialchukuStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialChukuQueryVo;

public interface MaterialChukuDao {
	List<MaterialChuku> findByVo(MaterialChukuQueryVo materialChukuQueryVo,Units units,int curPage , int pageSize);
	List<MaterialChuku> findAllByVo(MaterialChukuQueryVo materialChukuVo,Units units);
	boolean examinAll(MaterialChukuQueryVo materialChukuVo,Units units);
	boolean huituiAll(MaterialChukuQueryVo materialChukuVo,Units units);
	boolean shanchuAll(MaterialChukuQueryVo materialChukuVo,Units units);
	boolean allBack(MaterialChukuQueryVo materialChukuVo,Units units);
	BigDecimal findAllMoney(MaterialChukuQueryVo materialChukuQueryVo,
			Units units);
	int findSizeByVo(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	MaterialChuku findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialChuku entity);
	void examine(String ids,Long status);
	void update(MaterialChuku entity);
	void changeStatus(List<MaterialchukuStatus> entities);
	List<MaterialchukuStatus> findStatus(String id);
}
